#pragma once
#include <iostream>
#include "Protocol.hpp"

class Task
{
private:
    int _fd;
    CallBack _cb;
public:
    Task()
    { }
    Task(int fd) : _fd(fd)
    { }
    ~Task()
    { }
    void operator()()
    {
        _cb(_fd);
    }
};